package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "tax_rate")
public class TaxRate {
    @Id
    @Column(name = "tax_rate_id")
    private Integer taxRateId;

    @Column(name = "geo_zone_id")
    private Integer geoZoneId;

    private String name;

    private BigDecimal rate;

    private String type;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "date_modified")
    private Date dateModified;
}